home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / include / dvaxis.h < prev    next >
Text File  |  1997-05-08  |  3KB  |  84 lines

  1. /*
  2. |    file name -- dvaxis.h
  3. |===================================================================
  4. |
  5. |        copyright (C) 1987, V.I. Corporation
  6. |
  7. |    dvaxis - Defines for using VUaxis routines.
  8. |
  9. |    Alan Morse        4 Jun 87
  10. |    Alan Morse    6 jan 89    Add INTEGER_AXIS and
  11. |                    DRAW_MINOR_TICKS and
  12. |                    BASE_EXPONENT
  13. |       M. Smith        3 Apr 91        Added LABEL_FORMAT_FUNCTION
  14. |
  15. |===================================================================
  16. |
  17. |    Description/function:
  18. |    See VUaxis.c for a description of axes and their fields.
  19. |
  20. |===================================================================
  21. */
  22. /* Flags indicating the axis direction */
  23. #define AXIS_RIGHT    1
  24. #define AXIS_UP            2
  25. #define AXIS_LEFT    3
  26. #define AXIS_DOWN    4
  27.  
  28. #define LEFT_SIDE    AXIS_LEFT
  29. #define RIGHT_SIDE    AXIS_RIGHT
  30.  
  31. /* Flags defining axis attribute fields that may be SET */
  32. /* Current maximum flag value is 43 */
  33. #define AXIS_COLOR        1    /* int */
  34. #define AXIS_DIRECTION        2    /* int */
  35. #define AXIS_IS_LOG        3    /* INT_BOOL */
  36. #define AXIS_LENGTH        4    /* int */
  37. #define AXIS_NEW_START_VALUE    5    /* double */
  38. #define AXIS_START_POINT    6    /* DV_POINT* */
  39. #define DRAW_GRID        7    /* INT_BOOL */
  40. #define DRAW_LABELS        8    /* INT_BOOL */
  41. #define DRAW_TICKS        9    /* INT_BOOL */
  42. #define DRAW_MINOR_TICKS    35    /* INT_BOOL */
  43. #define FULL_DATA_RANGE        10    /* double double */
  44. #define GRID_COLOR        11    /* int */
  45. #define GRID_EXCLUDE_ENDS    12    /* INT_BOOL */
  46. #define GRID_EXCLUDE_START    42    /* INT_BOOL */
  47. #define GRID_LENGTH        13    /* int */
  48. #define GRID_LINE_TYPE        14    /* int */
  49. #define GRID_SIDE        15    /* int */
  50. #define HIGHEST_VALUE        37    /* double */
  51. #define INTEGER_AXIS        34    /* INT_BOOL */
  52. #define LABEL_DISTANCE        16    /* int */
  53. #define LABEL_FUNCTION        17    /* ADDRESS ADDRESS */
  54. #define LABEL_FORMAT_FUNCTION   41       /* ADDRESS ADDRESS int */
  55. #define LABEL_SIDE        18    /* int */
  56. #define LABEL_TEXTSIZE        19    /* int */
  57. #define MIN_MAJOR_PIXEL_GAP    20    /* double */
  58. #define MIN_MAJOR_VALUE_GAP    21    /* double */
  59. #define MIN_MINOR_PIXEL_GAP    22    /* double */
  60. #define MIN_MINOR_VALUE_GAP    23    /* double */
  61. #define TICK_LENGTH        24    /* int */
  62. #define TICK_SIDE        25    /* int */
  63.  
  64. /* Flags defining axis attribute fields that you may GET */
  65. /* AFTER the axis has been "evaluated".  */
  66. #define AXIS_BOUNDS        26    /* RECTANGLE* */
  67. #define BASE_EXPONENT        36    /* int* */
  68. #define INITIAL_TICK_VALUE    27    /* double* */
  69. #define INITIAL_TICK_POINT    28    /* DV_POINT* */
  70. #define INITIAL_TICK_COORD    43    /* double* */
  71. #define MAJOR_PIXEL_GAP        29    /* double* */
  72. #define MAJOR_VALUE_GAP        30    /* double* */
  73. #define MINOR_PIXEL_GAP        31    /* double* */
  74. #define MINOR_VALUE_GAP        32    /* double* */
  75. #define MINOR_TICKS_PER_MAJOR    33    /* int* */
  76. #define TICK_LABEL_EXTENT    38    /* DV_POINT* */
  77. #define TICK_LABEL_LENGTH    39    /* int* */
  78. #define TICK_LABEL_STRING    40    /* double char* */
  79. #define FIRST_TIC_TYPE        41    /* int* */
  80.  
  81. /* Axis Descriptor typedef for applications programmers */
  82.  
  83. #define AXISDESC        ADDRESS         /* ax   axis descriptor */
  84.